package com.uduemc.biso.module.basic.service;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Bean;

import com.uduemc.biso.core.property.GlobalProperties;

@SpringBootApplication
@EnableDiscoveryClient // 本服务启动后会自动注册进eureka服务中
public class BasicServiceApplication {

	public static void main(String[] args) {
		SpringApplication.run(BasicServiceApplication.class, args);
	}

	@Bean
	public GlobalProperties globalProperties() {
		return new GlobalProperties();
	}

}
